
.header {
    position: relative;
    z-index: 99;
    margin-top: 30px;
    .container {
        position: relative;
        .company-logo {
            float: left;
            margin-bottom: 30px;
            @include clearfix();
            .logo {
                float: left;
            }
            .slogan {
                float: left;
                margin: 25px 0 0 20px;
                padding: 5px 0 5px 20px;
                font-size: 20px;
                border-left: 1px solid #d8d8d8;
            }
        }
        .tel-quick-nav {
            float: right;
            .tel {
                float: left;
                margin-top: 20px;
                padding: 5px 20px;
                border-right: 1px solid #d8d8d8;
                .iconfont {
                    float: left;
                    font-size: 50px;
                }
                p {
                    float: left;
                    margin: 0 0 0 10px;
                    font-size: 16px;
                    line-height: 1;
                    span {
                        display: block;
                        margin-top: 5px;
                        font-size: 25px;
                    }
                }
            }
            .quick-nav {
                float: left;
                margin-top: 20px;
                a {
                    display: block;
                    float: left;
                    margin-left: 20px;
                    color: #666;
                    text-align: center;
                    transition: color .15s;
                    i.iconfont {
                        display: block;
                        margin-bottom: 5px;
                        font-size: 35px;
                    }
                    &:hover {
                        color: $color-main;
                    }
                }
            }
        }
    }
    .navigation {
        @include w-h(100%, 60px);
        background-color: #323232;
        // 导航条
        ul.navbar {
            position: relative;
            overflow: hidden;
            margin: 0;
            width: 100%;
            height: 60px;
            border: none;
            border-radius: 0;

            // 小于 768px
            @media (max-width: $screen-sm-max) {
                bottom: -20px;
                min-height: 40px;
            }

            li {
                display: block;
                float: left;
                font-size: 19px;

                // 小于 768px
                @media (max-width: $screen-sm-max) {
                    font-size: 14px;
                }

                a {
                    display: block;
                    padding: 0 35px;
                    color: #fff;
                    line-height: 60px;

                    // 小于 768px
                    @media (max-width: $screen-sm-max) {
                        padding: 0 10px;
                        line-height: 40px;
                    }

                }
                &.active {
                    a {
                        padding: 0 35px;
                        background-color: $color-main;
                    }
                }
            }
        }
    }
}

.banner {
    position: relative;

    // 小于
    @media (max-width: $screen-sm-min) {
        margin: 0 15px;
    }

    // jquery.skitter 幻灯片效果
    .skitter {
        background-color: #fff;
        max-width: 100%;
        height: 570px;
        .label_skitter {
            padding: 10px 15px;
            text-align: center;
            background: linear-gradient(transparent, rgba(0, 0, 0, .4));
            p {
                padding: 0;
                white-space: nowrap;
                text-overflow: ellipsis;
                overflow: hidden;
            }
        }
        .info_slide {
            background-color: rgba(0, 0, 0, .5);
            border-radius: 10px;
            padding: 5px 5px 5px 10px;
            top: auto;
            bottom: 40px;
            .image_number {
                border-radius: 6px;
                padding: 0;
                @include w-h(12px, 12px);
                text-indent: -1000px;
                &:hover {
                    background-color: #fff;
                }
                &.image_number_select {
                    background-color: $color-main;
                }
            }
        }
    }

    // banner subject
    .subject {
        position: absolute;
        z-index: 9;
        top: 30%;
        left: 20%;
        color: #fff;
        text-shadow: 0 3px 10px rgba(0, 0, 0, .2);
        h1 {
            display: block;
            float: left;
            margin-right: 20px;
            padding-right: 20px;
            max-height: 50px;
            font-size: 50px;
            border-right: 1px solid #fff;

            // 大于 768
            @media (min-width: $screen-sm-min) {
                font-size: 40px;
                line-height: 40px;
            }

            // 小于 768
            @media (max-width: $screen-sm-min) {
                font-size: 30px;
                line-height: 30px;
            }
        }
        .english-name {
            float: left;

            // 大于 768
            @media (min-width: $screen-sm-min) {
                font-size: 40px;
                line-height: 1;
            }

            // 小于 768
            @media (max-width: $screen-sm-min) {
                font-size: 20px;
                line-height: 30px;
            }
        }
        .line {
            float: right;
            margin-top: 20px;
            width: 100px;
            border-bottom: 5px solid #fff;
            //box-shadow: 0 3px 10px rgba(0, 0, 0, .2);

            // 小于 768
            @media (max-width: $screen-sm-min) {
                display: none;
            }
        }
    }
}

// 通用底部
.footer {
    color: #a7a7a7;
    a {
        color: #a7a7a7;
        transition: all .15s;
        &:hover {
            color: #fff;
        }
    }
    .container-fluid {
        margin-bottom: -30px;
        padding: 0;
        .row {
            margin: 0;
            [class^="col"] {
                padding: 0;
            }
            .container {
                margin: 0;
                padding: 0;
            }
        }

        .menu {
            background-color: #1e67ac;
            height: 60px;
            font-size: 16px;
            line-height: 60px;
            .name {
                float: left;
                padding: 0 50px;
                height: 60px;
                color: #fff;
                font-size: 36px;
                background-color: #2f72b2;
            }
            ul {
                display: block;
                float: left;
                margin-left: 15px;
                li {
                    display: block;
                    float: left;
                    a {
                        padding: 0 15px;
                        color: #fff;
                        &:hover {
                            opacity: .8;
                        }
                    }
                }
            }
        }
    }
    .bg {
        padding: 20px 0;
        background-color: #323335;
    }
    .container .row {
        padding-top: 50px;
        .contact-us {
            margin-top: 15px;
            p {
                line-height: 2;
            }
        }
        .tel {
            float: left;
            margin-top: 30px;
            @include clearfix();
            .iconfont {
                float: left;
                font-size: 33px;
            }
            .text {
                float: left;
                margin-left: 10px;
                font-size: 12px;
                line-height: 1;
                p {
                    color: #fff;
                    margin-top: 5px;
                    font-size: 14px;
                }
            }
        }
        .tel-number {
            float: left;
            margin-top: 10px;
            color: #fff;
            font-size: 32px;
        }
        .qcode {
            text-align: center;
            p {
                margin-top: 10px;
            }
        }
    }
    .copyright {
        margin-top: 30px;
        padding: 25px 0;
        font-size: 14px;
        text-align: center;
        border-top: 1px solid #4f5052;
        a {
            color: inherit;
            &:hover {
                color: #fff;
            }
        }
    }
}

// 侧栏工具条
.sidebar-scroll {
    .container {
        position: relative;
        width: 1400px;
        .scroll-tool {
            position: absolute;
            width: 60px;
            right: -80px;
            bottom: 20px;
            z-index: 9999;
            overflow: auto;
            ul {
                position: fixed;
                width: 55px;
                bottom: inherit;
                li {
                    display: block;
                    padding: 5px 0 10px 0;
                    width: 80px;
                    color: #fff;
                    font-size: 40px;
                    text-align: center;
                    a {
                        color: #fff;
                    }
                    &.online-qq {
                        background-color: #6da9df;
                    }
                    &.online-wangwang {
                        background-color: #fbb01f;
                    }
                    span {
                        display: block;
                        font-size: 16px;
                        line-height: 1;
                    }
                    &.go-top {
                        margin-top: 100px;
                        a#go-top {
                            display: inline-table;
                            padding: 5px 10px;
                            font-size: 14px;
                            line-height: 1;
                            background-color: #c50102;
                        }
                    }
                }
            }
        }
    }
}

.scroll-product {
    padding: 70px 0;
    height: 570px;
    color: #fff;
    background: url("../images/products-bg.jpg") no-repeat center center;
    .container {
        padding: 0;
        .english-name {
            color: #9ca9bf;
        }
        .slide {
            position: relative;
            .carousel-inner {
                .item {
                    .rows {
                        @include clearfix();
                        .col {
                            float: left;
                            padding: 0 10px;
                            width: 20%;
                            .item {
                                position: relative;
                                overflow: hidden;
                                padding: 0;
                                @include w-h(214px, 214px);
                                background: #fff;
                                border: #e9e9e9 1px solid;
                                border-radius: 50%;
                                .img {
                                    img {
                                        width: 100%;
                                    }
                                }
                                a {
                                    display: block;
                                    text-align: center;
                                    line-height: 1;
                                    &.name {
                                        left: 0;
                                        bottom: 10px;
                                        @include w-h(100%, 50px);
                                        color: #777;
                                        line-height: 50px;
                                        @include text-hide();
                                        position: absolute;
                                        &:hover {
                                            color: $color-main;
                                        }
                                    }
                                    //&.more {
                                    //    color: #aeaeae;
                                    //    line-height: 1;
                                    //    margin-bottom: 20px;
                                    //    span {
                                    //        display: inline-table;
                                    //        padding: 8px 20px;
                                    //        border: #e0e0e0 1px solid;
                                    //        border-radius: 20px;
                                    //    }
                                    //    &:hover {
                                    //        color: #fff;
                                    //        span {
                                    //            background-color: $color-main;
                                    //            border-color: $color-main;
                                    //        }
                                    //    }
                                    //}
                                }
                                &:hover {
                                    a.more {
                                        color: #fff;
                                        span {
                                            background-color: $color-main;
                                            border-color: $color-main;
                                        }
                                    }
                                }
                            }
                            .inverted {
                                margin-top: 10px;
                                @include w-h(100%, 22px);
                                background: url("../images/products-inverted-bg.png") no-repeat center center;
                            }
                        }
                    }
                }
            }
            a.prev,
            a.next{
                position: absolute;
                top: 107px;
                left: -60px;
                margin-top: -20px;
                @include w-h(40px, 40px);
                line-height: 40px;
                text-align: center;
                background-color: #fff;
                border: #dbdbdb 1px solid;
                border-radius: 50%;
                &.next {
                    left: auto;
                    right: -60px;
                }
                &:hover {
                    color: #fff;
                    background-color: $color-main;
                    border: $color-main 1px solid;
                }
            }
        }
        .more-online-ask {
            margin-top: 45px;
            text-align: center;
            .btn {
                margin: 0 20px;
                padding: 10px 25px;
                color: #fff;
                line-height: 1;
                border-radius: 0;
            }
            .btn-more {
                color: #fff;
                background-color: transparent;
                border: #fff 1px solid;
                border-radius: 0;
            }
            .btn-online {
                background-color: #e92600;
            }
        }
    }
}